import request from '@/utils/request'

export function addHouseManage(data) {
  return request({
    url: '/houseManage',
    method: 'post',
    data
  })
}
export function update(data) {
  return request({
    url: '/houseManage',
    method: 'put',
    data
  })
}
export function removeHouseManage(id) {
  return request({
    url: '/houseManage/' + id,
    method: 'delete'
  })
}

export function getHouseManageListByHouseId(id) {
  return request({
    url: '/houseManage/list/' + id,
    method: 'get'
  })
}

